<template>
	<view class="form-item-group">
		<view class="form-item-label">{{label}}</view>
		<view class="form-item-info">
			<slot>{{value}}</slot>
		</view>
		<view class="form-item-append">
			<slot name="append"></slot>
		</view>
	</view>
</template>

<script>
export default {
	props: ['label', 'value'],
	mounted() {
		//
	},
	data() {
		return {
			//
		};
	},
	methods: {
		//
	}
}
</script>

<style lang="scss" scoped>
	.form-item-group {
		display: flex;
		align-items: center;
		height: 100upx;
		background-color: white;
		border-bottom: 1px solid #eeeeee;
		font-size: 32upx;
		
		.form-item-label {
			min-width: 160upx;
			padding: 20upx;
			color: #888888;
			text-align: right;
		}
		
		.form-item-info {
			padding: 20upx;
			font-weight: bold;
			flex: 1;
		}
		
		.form-item.append {
			padding: 20upx;
		}
	}
</style>
